package com.ruoyi.depot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.depot.domain.LocalInventory;
import com.ruoyi.depot.domain.LocalInventoryReservedLog;
import com.ruoyi.depot.domain.dto.LocalInventoryUpdate;
import com.ruoyi.depot.domain.vo.InventoryProductVO;
import com.ruoyi.depot.domain.vo.LocalInventoryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface LocalInventoryReservedLogMapper extends BaseMapper<LocalInventoryReservedLog>
{
    /**
     * 插入预约量/锁定量
     */
    int insertReservedLog(LocalInventoryReservedLog log);
    /**
     * 查询预定量/锁定量变动记录
     */
    List<LocalInventoryReservedLog> listReservedQuantityLog(LocalInventoryReservedLog inventoryReservedLog);
}
